package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.system.service.DetailService;
import org.springframework.stereotype.Service;

@Service
public class DetailServiceServiceImpl implements DetailService {
    @Override
    public SysUser getLoginUser() {
        return SecurityUtils.getLoginUser().getUser();
    }


}
